<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加学员页面</title>
</head>
<body>
<form action="/day05/stu?method=addStu" method="post" enctype="multipart/form-data">

    <table>
        <%--        <input type="hidden" name="method" value="addStu">--%>
        <tr>
            <td>姓名:</td>
            <td><input type="text" name="name"></td>
        </tr>
        <tr>
            <td>性别:</td>
            <td>
                <input type="radio" name="gender" value="男">男
                <input type="radio" name="gender" value="女">女
            </td>
        </tr>
        <tr>
            <td>爱好:</td>
            <td>
                <input type="checkbox" name="hobby" value="吃">吃
                <input type="checkbox" name="hobby" value="喝">喝
                <input type="checkbox" name="hobby" value="嫖">嫖
                <input type="checkbox" name="hobby" value="赌">赌
            </td>
        </tr>
        <tr>
            <td>出生日期:</td>
            <td>
                <input type="date" name="birthday">
            </td>
        </tr>
        <tr>
            <td>个人介绍</td>
            <td>
                <textarea name="intro" cols="40" rows="5"></textarea>
            </td>
        </tr>
        <tr>
            <td>头像:</td>
            <td>
                <input type="file" name="fileName">
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="添加">
            </td>
        </tr>

    </table>
</form>
</body>
</html>